//package com.example.shiwu;
//
////import com.example.pcackage.JavaConfig;
//import com.example.service.UserService;
//import org.springframework.context.annotation.AnnotationConfigApplicationContext;
//import org.springframework.context.support.ClassPathXmlApplicationContext;
//
///**
// * @Auther: LIJingQi
// * @Description: java+xml声明事务
// * @Date: 2023/3/31 01:03
// */
//public class Demo2 {
//    public static void main(String[] args) {
//        ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("application.xml");
//        UserService userService = context.getBean(UserService.class);
//        userService.transefor();
//    }
//}
